package xyz.zq.validation.entity;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.UUID;

@Data
public class Dep {

    private UUID id;

    @NotNull(message = "部门名称不能为空")
    private String deptName;

    @NotNull(message = "数量不能为空")
    private Integer num;

}
